package co.com.smart.eagle.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.eagle.entities.EagleSecurityUsers;
import co.com.smart.eagle.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class UserFacade
 */
@Stateless(name = "UserFacade", mappedName = "ejb/UserFacade")
public class UserFacade extends AbstractFacade<EagleSecurityUsers> implements
		UserFacadeLocal {

	@PersistenceContext(unitName = "SmartEaglePU")
	private EntityManager em;

	/**
	 * Default constructor.
	 */
	public UserFacade() {
		super(EagleSecurityUsers.class);
	}

	@Override
	protected EntityManager getEntityManager() {
		return em;
	}

}
